package com.modifiertech.lineage.event;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.event.entity.player.PlayerEvent;

/**
 * ClassName: SkillAnimateCallEvent <br/>
 * Description: <br/>
 * date: 2024/8/19 14:51<br/>
 *
 * @author Administrator<br />
 * @since JDK 1.8
 */

/**该事件为服务器响应事件
 *
 */
public class SkillAnimateCallEvent extends PlayerEvent {
    private String skillName;
    private Boolean enhance;

    public SkillAnimateCallEvent(EntityPlayer player, String skillName,Boolean skillEnhance) {
        super(player);
        this.skillName=skillName;
        this.enhance = skillEnhance;
    }

    public static class Pre extends SkillAnimateCallEvent {


        public Pre(EntityPlayer player, String skillName,Boolean skillEnhance) {
            super(player, skillName,skillEnhance);
        }
    }

    public static class Post extends SkillAnimateCallEvent {

        public Post(EntityPlayer player, String skillName,Boolean skillEnhance) {
            super(player, skillName,skillEnhance);
        }
    }

    public static class PostErr extends SkillAnimateCallEvent {
        public PostErr(EntityPlayer player, String skillName,Boolean skillEnhance) {
            super(player, skillName,skillEnhance);
        }
    }
    public String getSkillName() {
        return skillName;
    }

    public void setSkillName(String skillName) {
        this.skillName = skillName;
    }

    public Boolean getEnhance() {
        return enhance;
    }

    public void setEnhance(Boolean enhance) {
        this.enhance = enhance;
    }
}
